<script lang="ts" setup>
defineOptions({
  name: 'NoData',
})
const props = withDefaults(defineProps<{
  width?: number
  height?: number
}>(), {
  width: 200,
  height: 200,
})
</script>

<template>
  <view class="i-page">
    <wd-img :width="props.width" :height="props.height" src="/static/images/nodata.png" mode="widthFix" />
  </view>
</template>

<style lang="scss" scoped>
.i-page {
  text-align: center;
}
</style>
